.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.681);
  z-index: 9999;
  font-family: iranSansX !important;
  max-width: 100vw !important;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.my-modal {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  overflow: hidden;
  width: 90%;
  height: 500px;
}

.popup-content {
  position: absolute;
  overflow: hidden;
  overflow-y: scroll;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #24282c;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  animation: popup-fade 0.6s ease-in-out;
}

.popup_header > img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 1;
  padding-left: 23.5px;
}

#closeBtn {
  width: 25px;
  height: 25px;
}
#closeBtn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}
.popup_header {
  margin: 2vh 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
}

.popup_food-details {
  padding: 0 16px;
}

.modal-swiper {
  width: 100%;
  height: 100%;
  overflow: visible;
  margin-top: 8px;
}
.modal-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background-color: #cecece;
  transition: 0.5s;
}

.modal-swiper .swiper-pagination-bullet-active {
  background-color: #f3b5c5;
  width: 26px;
}

.modal-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.popupImages {
  width: 100%;
  height: 27vh;
  overflow: visible;
  margin-top: 8px;
}

.popupImages .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.popupImages .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background-color: #cecece;
  transition: 0.5s;
}

.popupImages .swiper-pagination-bullet-active {
  background-color: #f12315;
  width: 26px;
}

#ivaan-pagination-v2 span {
  background-color: #8987d7;
}
#ivaan-pagination-v3 span {
  background-color: #de7129;
}

.popupImages .swiper-pagination {
  position: absolute;
  bottom: -20px;
}

.popup_food-title {
  text-align: center;
  margin-top: 4vh;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.popup__food-price-video {
  display: flex;
  justify-content: space-between;
  color: #fff;
  margin-top: 4vh;
}
.video-button {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  width: 139px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
}
.popup_price {
  font-family: dana;
}

.popup_food-description {
  font-size: 14px;
  margin-top: 3vh;
  font-weight: 400;
  color: #727272;
}
.popup_sizes_holder {
  margin-top: 7vh;
  padding: 0 16px;
  width: 100%;
}
.popup_sizes_holder > p {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.popup_sizes {
  display: flex;
  justify-content: space-between;
  color: #fff;
  width: 100%;
  margin-bottom: 20px;
}
.size-holder span {
  font-size: 12px;
  font-weight: 400;
}
.size-holder {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  margin-top: 1.5vh;
  width: 88px;
  height: 88px;
  border-radius: 100%;
  cursor: pointer;
}

.size-holder svg rect {
  fill: transparent;
  stroke: transparent;
}

.size-holder svg circle,
.size-holder svg path,
.size-holder svg ellipse {
  stroke: #fff !important;
}

.active-size {
  background: linear-gradient(268.74deg, #d6180c 1.08%, #dd5900 102.31%);
}

#ivaan-sizes-v2 > div span {
  color: #323232;
}
#ivaan-sizes-v2 > div svg path {
  stroke: #323232 !important;
}
#ivaan-sizes-v2 .size-holder {
  color: #323232;
}
#ivaan-sizes-v2 .active-size {
  background: #8482cf;
  color: #ffffff !important;
}
#ivaan-sizes-v2 .active-size span {
  color: #ffffff;
}
#ivaan-sizes-v2 .active-size svg path {
  stroke: #ffffff !important;
}

#ivaan-sizes-v3 > div span {
  color: #323232;
}
#ivaan-sizes-v3 > div svg path {
  stroke: #323232 !important;
}
#ivaan-sizes-v3 .size-holder {
  color: #323232;
}
#ivaan-sizes-v3 .active-size {
  background: #de7129;
  color: #ffffff !important;
}
#ivaan-sizes-v3 .active-size span {
  color: #ffffff;
}
#ivaan-sizes-v3 .active-size svg path {
  stroke: #ffffff !important;
}

video {
  height: 200px;
  width: 100%;
  margin: 10px 0;
  display: none;
}

@keyframes popup-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, 100%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
#change-data {
  display: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  position: fixed;
  top: 40%;
  right: 33%;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 7px;
  width: 30%;
}
div.modal-content div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 110px;
}
div.modal-content div p {
  font-family: dana;
  text-align: center;
}

@media screen and (max-width: 314px) {
  .modal-content {
    right: 4%;
    width: 92%;
  }
}
@media screen and (max-width: 370px) and (min-width: 315px) {
  .modal-content {
    right: 18%;
    width: 65%;
  }
}
@media screen and (max-width: 531px) and (min-width: 371px) {
  .modal-content {
    right: 22.5%;
    width: 55%;
  }
}
@media screen and (max-width: 1024px) and (min-width: 951px) {
  .modal-content {
    right: 33%;
    width: 34%;
  }
}
